package superMarket;

import java.sql.Date;
import java.sql.ResultSet;

public class Customer {
	private String id;
	private String name;
	private String phone;
	private Date born;
	public Customer(String id, String name, String phone, Date born) {
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.born = born;
	}
	@Override
	public String toString() {
		return "Customer [id=" + id + ", name=" + name + ", phone=" + phone
				+  ", born=" + born + "]";
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Date getBorn() {
		return born;
	}
	public void setBorn(Date born) {
		this.born = born;
	}
	
}
